DRAW SPRITES FIRST

This command changes the order in which sprites are drawn to the screen.

  Syntax
DRAW SPRITES FIRST
  Returns

This command does not return a value.

  Description

By calling this command, all sprites will be drawn to the screen "before" any 3D is drawn. This will cause the sprites to appear to be behind 3D objects, and most likely obscured by them.

  Example Code
CLS RGB(255,0,0)
GET IMAGE 1,0,0,32,32
SPRITE 1,50,50,1
DRAW SPRITES FIRST
DO
CLS
TEXT 40,50,"SPRITE BEHIND CLS"
LOOP
  See also

CORE Commands Menu
Index